package com.pu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.pu.dto.CategoryPageQueryDTO;
import com.pu.entity.Category;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author Yusc
 * @Date 2023/10/26 15:31
 * @Version
 * @Description 菜品分类数据访问层
 **/
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {
    /**
     * @param categoryPageQueryDTO
     * @return
     * @auther: Yusc
     * @date 2023/10/26 15:59
     * @Description 分类分页查询
     */
    Page<Category> pageQuery(CategoryPageQueryDTO categoryPageQueryDTO);
}
